package cn.xuanxuanyuhua.crm.service;



import cn.xuanxuanyuhua.crm.domain.Employee;
import cn.xuanxuanyuhua.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IEmployeeService {
    void saveOrUpdate(Employee entity, Long[] ids);

    void delete(Long id);

    Employee get(Long id);

    PageInfo query(QueryObject qo);


    Employee getInfoByUsername(String username);

    Boolean checkUsernamae(String name);

    void batchDelete(Long[] ids);


    List<String> getPermissionByEmployee(Long id);

    List<String> getRolesByEmployeeId(Long id);

    List<Employee> list();

    List<Employee> selectEmpsById(Long id);
}


